package com.imagefake.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.imagefake.mapper.PredictedRecordMapper;
import com.imagefake.entity.PredictedRecord;
import com.imagefake.service.PredictedRecordService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * (PredictedRecord)表服务实现类
 *
 * @author makejava
 * @since 2024-05-06 21:52:31
 */
@Service("predictedRecordService")
public class PredictedRecordServiceImpl extends ServiceImpl<PredictedRecordMapper, PredictedRecord> implements PredictedRecordService {

    @Resource
    private PredictedRecordMapper predictedRecordMapper;

    @Override
    public List<PredictedRecord> listByUserId(Integer userId) {
        return predictedRecordMapper.listByUserId(userId);
    }
}

